var express = require('express');
var router = express.Router();
var comment=require("../controllers/control_comment");

/* GET users listing. */
router.post('/create',comment.comment_create);//创建
router.put('/update/:id',comment.comment_update);//修改数据
router.delete('/removes',comment.comment_removes);//删除多个
router.delete('/delete/:id',comment.comment_delete);//删除指定
router.get('/list/:id',comment.comment_list_id);//获取指定
router.post('/list',comment.comment_list);//获取所有



module.exports = router;
